package com.puris.dao.student;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * @author Sonata
 * @data 2021/11/22 18:15
 */
public interface JoinCompetitionDao {
    public String joinCompetition(Connection connection, String studentId, String competitionId) throws SQLException;

    public boolean hasCompetition(Connection connection, String id);

    public boolean isJoin(Connection connection, String id) throws SQLException;
}
